﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IHISCETeim.Library
{
    /// <summary>
    /// 提供操作字符串的常用方法
    /// </summary>
    public static class StringExt
    {
        #region 判断字符串是否为空或NULL

        /// <summary>
        /// 判断字符串是否为空或NULL
        /// </summary>
        /// <param name="value">字符串对象</param>
        /// <returns>返回是/否</returns>
        public static bool IsEmptyOrNull(this string value)
        {
            return string.IsNullOrEmpty(value);
        }

        #endregion
    }
}
